ADD_LIBRARY(
        EyerWASMIndexedDB STATIC

        EyerWASMIndexedDB.cpp
        EyerWASMIndexedDB.hpp
        EyerWASMIndexedDB_OpenEvent.cpp
        EyerWASMIndexedDB_OpenEvent.hpp
        EyerWASMIndexedDB_PutEvent.cpp
        EyerWASMIndexedDB_PutEvent.hpp
        EyerWASMIndexedDB_GetEvent.cpp
        EyerWASMIndexedDB_GetEvent.hpp
        EyerWASMIndexedDB_CloseEvent.cpp
        EyerWASMIndexedDB_CloseEvent.hpp
)

SET(head_files
        EyerWASMIndexedDBHeader.hpp
        EyerWASMIndexedDB.hpp
        )

INSTALL(FILES ${head_files} DESTINATION include/EyerWASMIndexedDB)
INSTALL(
        TARGETS EyerWASMIndexedDB
        RUNTIME DESTINATION bin
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib
)
